<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
		<style>
			.bluetext{
				color: blue;
			}
		</style>
		
	</head>
	<body>
		<h1>通过style属性控制样式</h1>
		<div style="color: red;">Hello world!</div>
		
		<h1>通过class属性控制样式</h1>
		<div class="bluetext">Hello vu!</div>
	</body>
</html>